Fix the Windows build broken by revision 113846.
authorEli Zaretskii <eliz@gnu.org>
Tue, 13 Aug 2013 18:01:18 +0000 (21:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 13 Aug 2013 18:01:18 +0000 (21:01 +0300)
commitc9ab66ae88c759e245682026b28123113ad27414
tree2d72f64dee44fb4ade7d9f5f5a10cb6670d8f4f2
parentbd76431d28d7426493e2fe75836baab49ee29974
Fix the Windows build broken by revision 113846.

 src/window.c (Fwindow_margins): Return nil when there's no marginal
 area, as per the documented API.
 src/w32term.c (x_scroll_bar_create): Use ALLOCATE_PSEUDOVECTOR, not
 Fmake_vector, as scroll bar's struct members are not all Lisp
 objects now.  This avoids crashes in GC.
 src/w32term.h (struct scroll_bar): Convert fringe_extended_p to a
 bool, so its address could be taken.
src/ChangeLog
src/w32term.c
src/w32term.h
src/window.c